package com.infinit.selfhelp.common.base

import android.app.Application
import android.util.Log
import com.drake.net.BuildConfig
import com.drake.net.NetConfig
import com.drake.net.interceptor.RequestInterceptor
import com.drake.net.okhttp.setConverter
import com.drake.net.okhttp.setDebug
import com.drake.net.okhttp.setRequestInterceptor
import com.drake.net.okhttp.trustSSLCertificate
import com.drake.net.request.BaseRequest
import com.infinit.selfhelp.common.net.converter.GsonConverter
import com.infinit.selfhelp.common.net.interceptor.ContentTypeInterceptor
import com.infinit.selfhelp.common.net.interceptor.LoggingInterceptor
import dagger.hilt.android.HiltAndroidApp
import java.util.concurrent.TimeUnit
import javax.inject.Inject

open class BaseApplication : Application() {
    override fun onCreate() {
        super.onCreate()
        initNet()
    }
    open fun initNet() {

        Log.d("--net-base", NetConfig.host)
    }
}
